<!-- 展示设计作品   完结-->
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/common/jquery-1.9.1.min.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/designer/designer_introduction.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/common/kissy.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/common/waterfall.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/common/loader.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/common/base.js"></script>
		<link rel='stylesheet prefetch' href='${pageContext.request.contextPath}/css/designer/showOneDesigner.css'>
		<link href="${pageContext.request.contextPath}/css/common/page.css" rel="stylesheet">
		<script src="${pageContext.request.contextPath}/js/common/changePage.js"></script>
		<title></title>
	</head>

	<body>
		<span class="title">按时间排序</span>
		<div class="maincon">
			<!--15条记录-->
			<c:forEach items="${json.list}" var="design">
				<div class="ks-waterfall">
					<div class="show">
					<a href="${pageContext.request.contextPath}/design/show_detail.do?design_id=${design.id}" target="new">
						<img src="${pageContext.request.contextPath}/${design.effect_url}">
					</a>
						
						<span class="name">${design.name}</span>
						<ul>
							<li class="collect">${design.collected}</li>
							<li class="like">${design.liked}</li>
						</ul>
					</div>
				</div>
			</c:forEach>
		</div>
		<!--分页-->
		<div class="paging">
			<div style="display: none;">
				<span class="pages">${data.property.pageCount}</span>
				<!--页数-->
				<span class="pageIndex">${data.property.pageIndex}</span>
				<!--当前页码-->
				<span class="pagesize">3</span>
				<!--每页记录数-->
				<span class="hasNext">${data.property.hasNext}</span>
				<!--是否有下一页(boolean)-->
				<span class="selfUrl">/special/getSpecial.do</span>
				<!--请求action-->
				<span class="userId">designer_id=19</span>
				<!--用户ID-->
				<span class="commonUrl">${pageContext.request.contextPath}</span>
				<!--绝对路径-->
			</div>
			<div class="showPaging">
				<a class="prev" href="${pageContext.request.contextPath}/demand/getSpecial.do?designer_id=${designer_id }&pageindex=${json.property.pageIndex-1 }&pagesize=4">
					上一页</a>
				<select class="pageNum">
					<option value="0">请选择跳转的页数</option>
					<option value="1">第1页</option>
					<option value="2" selected="">第2页</option>
				</select>
				<a class="next" href="${pageContext.request.contextPath}/demand/getSpecial.do?designer_id=${designer_id }&pageindex=${json.property.pageIndex+1 }&pagesize=4">
					下一页</a>
			</div>
		</div>
		<!--分页结束-->
	</body>

</html>